package po;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class StudentPO implements Serializable {

	/**
	 * @param args
	 */
	String studentID;
	String name;
	Date birthday;
	String collegeID;
	String department;
	int eduStartYear;
	
	public StudentPO(String sID,String n,Date b,String c,String d,int year){
		studentID = sID;
		name = n;
		birthday = b;
		collegeID = c;
		department = d;
		eduStartYear = year;
	}
	
	public String getStudentID(){
		return studentID;
	}
	public String getName(){
		return name;
	}
	public Date getBirthday(){
		return birthday;
	}
	public String getCollegeID(){
		return collegeID;
	}
	public String getDepartment(){
		return department;
	}
	public int getEduStartYear(){
		return eduStartYear;
	}

	@Override
	public String toString() {
		return "StudentPO:\r\nstudentID=" + studentID + "\r\nname=" + name
				+ "\r\nbirthday=" + birthday + "\r\ncollegeID=" + collegeID
				+ "\r\ndepartment=" + department + "\r\neduStartYear="
				+ eduStartYear;
	}

}
